package cn.mapper;

import cn.dto.Query;
import cn.entity.AcademicActivity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AcademicActivityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AcademicActivity record);

    int insertSelective(AcademicActivity record);

    AcademicActivity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AcademicActivity record);

    int updateByPrimaryKey(AcademicActivity record);

    List<AcademicActivity> selectAcademicList(Query query);
}